package com.pzhuweb.sgblog.domain.utils;

// 常量类
public class SystemConstants {

    // 文章是草稿状态
    public static final int ARTICLE_STATUS_DRAFT = 1;

    // 文章是正常状态
    public static final int ARTICLE_STATUS_NORMAL = 0;

    // 分类是正常状态
    public static final int Category_STATUS_NORMAL = 0;

    // 分类是禁用的
    public static final int Category_STATUS_DISABLED = 1;

    // 没有以发布的文章
    public static final String ARTICLE_STATUS_NORMAL_STR = "0";

    // 通过审核的友链
    public static final Character LINK_STATUS_NORMAL = '0';

    // 文章的根评论为-1
    public static final Long ROOT_ID = (long) -1;

    // 空字符串
    public static final String NULL_STR = "";

    public static final String ARTICLE_COMMENT_TYPE = "0";

    public static final String LINK_COMMENT_TYPE = "1";

    // 浏览量
    public static final String VIEW_COUNT = "article";

    /*
     * 菜单类型
     * M表示目录
     * C表示菜单
     * F表示按钮
     * */
    public static final String IS_DIRECTORY = "M";

    public static final String IS_MENU = "C";
    public static final Long PARENT_IS_ZERO = 0L;
}
